setPos

fun setPos(x: Pos, y: Pos): LayoutWidget

Sets the X and Y anchor positions this layout is positioned against. The widget will wrap the positions in a RelPos to avoid mutating external position state.

Return

this widget

Author

fzzyhmstrs

Since

0.6.0

Parameters

x

Pos new X/Left position anchor

y

Pos new Y/Top position anchor